diff --git a/_posts/2021-09-04-portainer-oauth.md b/_posts/2021-09-04-portainer-oauth.md index 71bd7e1..3734b3e 100644 --- a/_posts/2021-09-04-portainer-oauth.md +++ b/_posts/2021-09-04-portainer-oauth.md @@ -15,6 +15,7 @@ pic06: "/assets/images/portainer_oauth/6.png" pic07: "/assets/images/portainer_oauth/7.png" pic08: "/assets/images/portainer_oauth/8.png" pic09: "/assets/images/portainer_oauth/9.png" +pic10: "/assets/images/portainer_oauth/10.png" --- @@ -47,9 +48,17 @@ Now choose this options, you can use other `Session lifetime` if you want `Automatic user provisioning`: If set ON anyone with Github account will be able to login and Portainer will automaticily create the user without authorizations, better leave it off and handle the users creation/allowance to you. +### OAuth Configuration - - +`Client ID`: ClientID you copied from Github +`Client secret`: Secret you copied from Github +`Authorization URL`: https://github.com/login/oauth/authozize +`Access token URL`: https://github.com/login/oauth/access_token +`Resource URL`: https://api.github.com/user +`Redirect URL`: your Portainer URL eg: http://IP:9000 +`Logout URL`: +`User identifier`: login +`Scopes`: id,email,name diff --git a/assets/images/portainer_oauth/10.png b/assets/images/portainer_oauth/10.png new file mode 100644 index 0000000..ea1ab80 Binary files /dev/null and b/assets/images/portainer_oauth/10.png differ