fix: Auth endpoints in docs
This commit is contained in:
parent
fef714b870
commit
5a9f1ea2f1
3 changed files with 66 additions and 12 deletions
|
@ -26,7 +26,59 @@ const doc = {
|
|||
],
|
||||
components: {
|
||||
securitySchemes: {
|
||||
student: {
|
||||
studentDev: {
|
||||
type: 'oauth2',
|
||||
flows: {
|
||||
implicit: {
|
||||
authorizationUrl: 'http://localhost:7080/realms/student/protocol/openid-connect/auth',
|
||||
scopes: {
|
||||
openid: 'openid',
|
||||
profile: 'profile',
|
||||
email: 'email',
|
||||
},
|
||||
},
|
||||
},
|
||||
},
|
||||
teacherDev: {
|
||||
type: 'oauth2',
|
||||
flows: {
|
||||
implicit: {
|
||||
authorizationUrl: 'http://localhost:7080/realms/teacher/protocol/openid-connect/auth',
|
||||
scopes: {
|
||||
openid: 'openid',
|
||||
profile: 'profile',
|
||||
email: 'email',
|
||||
},
|
||||
},
|
||||
},
|
||||
},
|
||||
studentStaging: {
|
||||
type: 'oauth2',
|
||||
flows: {
|
||||
implicit: {
|
||||
authorizationUrl: 'http://localhost/idp/realms/student/protocol/openid-connect/auth',
|
||||
scopes: {
|
||||
openid: 'openid',
|
||||
profile: 'profile',
|
||||
email: 'email',
|
||||
},
|
||||
},
|
||||
},
|
||||
},
|
||||
teacherStaging: {
|
||||
type: 'oauth2',
|
||||
flows: {
|
||||
implicit: {
|
||||
authorizationUrl: 'http://localhost/idp/realms/teacher/protocol/openid-connect/auth',
|
||||
scopes: {
|
||||
openid: 'openid',
|
||||
profile: 'profile',
|
||||
email: 'email',
|
||||
},
|
||||
},
|
||||
},
|
||||
},
|
||||
studentProduction: {
|
||||
type: 'oauth2',
|
||||
flows: {
|
||||
implicit: {
|
||||
|
@ -39,7 +91,7 @@ const doc = {
|
|||
},
|
||||
},
|
||||
},
|
||||
teacher: {
|
||||
teacherProduction: {
|
||||
type: 'oauth2',
|
||||
flows: {
|
||||
implicit: {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue