Skip to content
This repository was archived by the owner on Jul 24, 2025. It is now read-only.

Commit a9a284f

Browse files
committed
Add auth0 oauth2 driver.
1 parent 962b3d8 commit a9a284f

2 files changed

Lines changed: 14 additions & 0 deletions

File tree

build/build.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,9 @@ const files = [{
5454
}, {
5555
input: 'src/drivers/http/vue-resource.1.x.js',
5656
name: 'drivers/http/vue-resource.1.x'
57+
}, {
58+
input: 'src/drivers/oauth2/auth0.js',
59+
name: 'drivers/oauth2/auth0'
5760
}, {
5861
input: 'src/drivers/oauth2/facebook.js',
5962
name: 'drivers/oauth2/facebook'

src/drivers/oauth2/auth0.js

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
export default {
2+
url: '',
3+
4+
params: {
5+
client_id: '',
6+
redirect_uri: 'login/auth0',
7+
response_type: 'code',
8+
scope: 'openid profile email',
9+
state: {},
10+
}
11+
}

0 commit comments

Comments
 (0)