Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

PlantUML Macro
@startuml
autonumber
participant User as user order 1
participant GUI as gui order 2
participant SDNC as sdnc order 3
participant OAUthProvider as oauth order 4

    gui -> sdnc: GET /oauth/providers 
    sdnc -> gui: providers array
    user -> gui: Select OAuth provider
    gui -> oauth: /loginForm with params
    oauth -> gui: loginForm
    user -> gui: fill login form
    gui -> oauth: POST /login with credentials
    oauth -> gui: [301] to redirectURI
    gui -> sdnc: GET /oauth/redirect with params
    sdnc -> oauth:POST /oauth2/token with params
    oauth -> sdnc: OAuthToken with roles
    sdnc -> sdnc: create odl bearer token with with roles
    sdnc -> gui: odl bearer token
    
    
    
@enduml


2:

Code Block
[{
  "id":"keycloak",
  "title":"OSNL Keycloak Provider",
  "loginUrl":"http://10.20.11.160:8080/auth/realms/onap/protocol/openid-connect/auth?client_id=odlux.app&response_type=code&scope=openid&redirect_uri=http%3A%2F%2Flocalhost%3A3100%2Foauth%2Fredirect%2Fkeycloak"
}]