{"id":675,"date":"2026-04-12T08:56:46","date_gmt":"2026-04-12T07:56:46","guid":{"rendered":"https:\/\/entertainmentnews.site\/index.php\/2026\/04\/12\/how-to-test-sso-authentication-with-cognito-and-oidc-providers\/"},"modified":"2026-04-12T08:56:48","modified_gmt":"2026-04-12T07:56:48","slug":"how-to-test-sso-authentication-with-cognito-and-oidc-providers","status":"publish","type":"post","link":"https:\/\/entertainmentnews.site\/index.php\/2026\/04\/12\/how-to-test-sso-authentication-with-cognito-and-oidc-providers\/","title":{"rendered":"How to Test SSO Authentication with Cognito and OIDC Providers"},"content":{"rendered":"<div class=\"anp-pro-entry\">\n<p class=\"anp-pro-lead\">The topic <strong>How to Test SSO Authentication with Cognito and OIDC Providers<\/strong> is currently the subject of lively discussion \u2014 readers and analysts are keeping a close eye on developments.<\/p>\n<p class=\"anp-pro-p\">This is taking place in a dynamic environment: companies\u2019 decisions and competitors\u2019 reactions can quickly change the picture.<\/p>\n<p class=\"anp-pro-p\">This guide covers the admin setup for SSO authentication built with Django and AWS Cognito. The full reference implementation is available on GitHub: django-cognito-sso-demo.<\/p>\n<p class=\"anp-pro-p\">To ensure SSO works correctly in your application, you must complete the following steps:<\/p>\n<p class=\"anp-pro-p\">This is required for group validation to function properly in SSO.<\/p>\n<p class=\"anp-pro-p\">The name must match the \u201cgroups\u201d claim used in all OIDC providers that will be included in your application SSO.<\/p>\n<p class=\"anp-pro-p\">After setting up the Admin Panel, we are ready to test SSO authentication.<\/p>\n<p class=\"anp-pro-p\">Azure Single Sign-On (SSO) Setup: A Step-by-Step Guide<br \/>\n\u00a0<br \/>\nOkta Single Sign-On (SSO) Setup: A Step-by-Step Guide<\/p>\n<figure class=\"anp-pro-inline-figure\" style=\"margin:1.75em auto;text-align:center;max-width:100%\"><img decoding=\"async\" class=\"anp-pro-inline-img\" src=\"https:\/\/entertainmentnews.site\/wp-content\/uploads\/2026\/04\/https3A2F2Fdev-to-uploads.s3.amazonaws.com2Fuploads2Farticles2Fmamqjf5tyjpz6pja2ljy.webp\" alt=\"\" style=\"margin:0 auto;max-width:100%;width:auto;height:auto;object-fit:contain;object-position:center\" loading=\"lazy\"><\/figure>\n<p class=\"anp-pro-p\">Other OIDC providers typically follow a similar setup process.<\/p>\n<p class=\"anp-pro-p\">Step 1: To log in to your application via the Azure SSO Provider, send a GET request to:<\/p>\n<p class=\"anp-pro-p\">&lt;cognito_domain&gt;\/login?client_id=&lt;client_id&gt;&amp;redirect_uri=&lt;redirect_uri&gt;&amp;response_type=code&amp;scope=openid&amp;state=&lt;client_id&gt;<\/p>\n<p class=\"anp-pro-p\">Step 2 After sending the request, you will be redirected to the Your OIDC Provider login page, in my case it\u2019s Microsoft login page. Click Receive Code.<\/p>\n<p class=\"anp-pro-p\">Step 4: After successful authentication, you will receive a response with your authentication tokens.<\/p>\n<p class=\"anp-pro-p\">Step 5: To check if a user was actually created after SSO login, you can:<\/p>\n<p class=\"anp-pro-p\">After successful logout you will receive a response with your message \u201cLogout successful\u201d.<\/p>\n<figure class=\"anp-pro-inline-figure\" style=\"margin:1.75em auto;text-align:center;max-width:100%\"><img decoding=\"async\" class=\"anp-pro-inline-img\" src=\"https:\/\/entertainmentnews.site\/wp-content\/uploads\/2026\/04\/https3A2F2Fdev-to-uploads.s3.amazonaws.com2Fuploads2Farticles2Fbo32a7yks5vdh5y3nsq4.webp\" alt=\"\" style=\"margin:0 auto;max-width:100%;width:auto;height:auto;object-fit:contain;object-position:center\" loading=\"lazy\"><\/figure>\n<p class=\"anp-pro-p\">If the user is not a member of the IAM group, the group name is incorrect in the Admin Panel for the SSO Provider, or the user\u2019s email domain is not linked with a rights holder of the app_id, the login attempt will fail, showing an error, where provider 19 is SSO Client Provider ID.<\/p>\n<p class=\"anp-pro-p\">Templates let you quickly answer FAQs or store snippets for re-use.<\/p>\n<p class=\"anp-pro-p\">Are you sure you want to hide this comment? It will become hidden in your post, but will still be visible via the comment&#8217;s permalink.<\/p>\n<p class=\"anp-pro-p\">For further actions, you may consider blocking this person and\/or reporting abuse<\/p>\n<p class=\"anp-pro-p\">Thank you to our Diamond Sponsors for supporting the DEV Community<\/p>\n<p class=\"anp-pro-p\">Google AI is the official AI Model and Platform Partner of DEV<\/p>\n<p class=\"anp-pro-p\">DEV Community \u2014 A space to discuss and keep up software development and manage your software career<\/p>\n<p class=\"anp-pro-p\">Built on Forem \u2014 the open source software that powers DEV and other inclusive communities.<\/p>\n<p class=\"anp-pro-p\">We&#8217;re a place where coders share, stay up-to-date and grow their careers.<\/p>\n<aside class=\"anp-pro-aside\" aria-label=\"context\">\n<p class=\"anp-pro-kicker\">Why it matters<\/p>\n<p class=\"anp-pro-p\">News like this often changes audience expectations and competitors\u2019 plans.<\/p>\n<p class=\"anp-pro-p\">When one player makes a move, others usually react \u2014 it is worth reading the event in context.<\/p>\n<\/aside>\n<aside class=\"anp-pro-aside\" aria-label=\"outlook\">\n<p class=\"anp-pro-kicker\">What to look out for next<\/p>\n<p class=\"anp-pro-p\">The full picture will become clear in time, but the headline already shows the dynamics of the industry.<\/p>\n<p class=\"anp-pro-p\">Further statements and user reactions will add to the story.<\/p>\n<\/aside>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>The topic How to Test SSO Authentication with Cognito and OIDC Providers is currently the subject of lively discussion \u2014 readers and analysts are keeping a close eye on developments. This is taking place in a dynamic environment: companies\u2019 decisions and competitors\u2019 reactions can quickly change the picture. This guide covers the admin setup for [&hellip;]<\/p>\n","protected":false},"author":0,"featured_media":676,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[338,342,341,339,340],"class_list":["post-675","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-entertainment","tag-authentication","tag-cognito","tag-login","tag-oidc","tag-provider"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.1.1 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>How to Test SSO Authentication with Cognito and OIDC Providers - entertainmentnews.site<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/entertainmentnews.site\/index.php\/2026\/04\/12\/how-to-test-sso-authentication-with-cognito-and-oidc-providers\/\" \/>\n<meta property=\"og:locale\" content=\"en_GB\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to Test SSO Authentication with Cognito and OIDC Providers - entertainmentnews.site\" \/>\n<meta property=\"og:description\" content=\"The topic How to Test SSO Authentication with Cognito and OIDC Providers is currently the subject of lively discussion \u2014 readers and analysts are keeping a close eye on developments. This is taking place in a dynamic environment: companies\u2019 decisions and competitors\u2019 reactions can quickly change the picture. This guide covers the admin setup for [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/entertainmentnews.site\/index.php\/2026\/04\/12\/how-to-test-sso-authentication-with-cognito-and-oidc-providers\/\" \/>\n<meta property=\"og:site_name\" content=\"entertainmentnews.site\" \/>\n<meta property=\"article:published_time\" content=\"2026-04-12T07:56:46+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2026-04-12T07:56:48+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/entertainmentnews.site\/wp-content\/uploads\/2026\/04\/https3A2F2Fdev-to-uploads.s3.amazonaws.com2Fuploads2Farticles2Fhbtwh2s8mv0su3b9pgeb.webp\" \/>\n\t<meta property=\"og:image:width\" content=\"1200\" \/>\n\t<meta property=\"og:image:height\" content=\"627\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/webp\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Estimated reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/entertainmentnews.site\/index.php\/2026\/04\/12\/how-to-test-sso-authentication-with-cognito-and-oidc-providers\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/entertainmentnews.site\/index.php\/2026\/04\/12\/how-to-test-sso-authentication-with-cognito-and-oidc-providers\/\"},\"author\":{\"name\":\"\",\"@id\":\"\"},\"headline\":\"How to Test SSO Authentication with Cognito and OIDC Providers\",\"datePublished\":\"2026-04-12T07:56:46+00:00\",\"dateModified\":\"2026-04-12T07:56:48+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/entertainmentnews.site\/index.php\/2026\/04\/12\/how-to-test-sso-authentication-with-cognito-and-oidc-providers\/\"},\"wordCount\":515,\"image\":{\"@id\":\"https:\/\/entertainmentnews.site\/index.php\/2026\/04\/12\/how-to-test-sso-authentication-with-cognito-and-oidc-providers\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/entertainmentnews.site\/wp-content\/uploads\/2026\/04\/https3A2F2Fdev-to-uploads.s3.amazonaws.com2Fuploads2Farticles2Fhbtwh2s8mv0su3b9pgeb.webp\",\"keywords\":[\"Authentication\",\"Cognito\",\"Login\",\"Oidc\",\"Provider\"],\"articleSection\":[\"Entertainment\"],\"inLanguage\":\"en-GB\"},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/entertainmentnews.site\/index.php\/2026\/04\/12\/how-to-test-sso-authentication-with-cognito-and-oidc-providers\/\",\"url\":\"https:\/\/entertainmentnews.site\/index.php\/2026\/04\/12\/how-to-test-sso-authentication-with-cognito-and-oidc-providers\/\",\"name\":\"How to Test SSO Authentication with Cognito and OIDC Providers - entertainmentnews.site\",\"isPartOf\":{\"@id\":\"https:\/\/entertainmentnews.site\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/entertainmentnews.site\/index.php\/2026\/04\/12\/how-to-test-sso-authentication-with-cognito-and-oidc-providers\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/entertainmentnews.site\/index.php\/2026\/04\/12\/how-to-test-sso-authentication-with-cognito-and-oidc-providers\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/entertainmentnews.site\/wp-content\/uploads\/2026\/04\/https3A2F2Fdev-to-uploads.s3.amazonaws.com2Fuploads2Farticles2Fhbtwh2s8mv0su3b9pgeb.webp\",\"datePublished\":\"2026-04-12T07:56:46+00:00\",\"dateModified\":\"2026-04-12T07:56:48+00:00\",\"author\":{\"@id\":\"\"},\"breadcrumb\":{\"@id\":\"https:\/\/entertainmentnews.site\/index.php\/2026\/04\/12\/how-to-test-sso-authentication-with-cognito-and-oidc-providers\/#breadcrumb\"},\"inLanguage\":\"en-GB\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/entertainmentnews.site\/index.php\/2026\/04\/12\/how-to-test-sso-authentication-with-cognito-and-oidc-providers\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-GB\",\"@id\":\"https:\/\/entertainmentnews.site\/index.php\/2026\/04\/12\/how-to-test-sso-authentication-with-cognito-and-oidc-providers\/#primaryimage\",\"url\":\"https:\/\/entertainmentnews.site\/wp-content\/uploads\/2026\/04\/https3A2F2Fdev-to-uploads.s3.amazonaws.com2Fuploads2Farticles2Fhbtwh2s8mv0su3b9pgeb.webp\",\"contentUrl\":\"https:\/\/entertainmentnews.site\/wp-content\/uploads\/2026\/04\/https3A2F2Fdev-to-uploads.s3.amazonaws.com2Fuploads2Farticles2Fhbtwh2s8mv0su3b9pgeb.webp\",\"width\":1200,\"height\":627},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/entertainmentnews.site\/index.php\/2026\/04\/12\/how-to-test-sso-authentication-with-cognito-and-oidc-providers\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/entertainmentnews.site\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to Test SSO Authentication with Cognito and OIDC Providers\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/entertainmentnews.site\/#website\",\"url\":\"https:\/\/entertainmentnews.site\/\",\"name\":\"entertainmentnews.site\",\"description\":\"\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/entertainmentnews.site\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-GB\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How to Test SSO Authentication with Cognito and OIDC Providers - entertainmentnews.site","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/entertainmentnews.site\/index.php\/2026\/04\/12\/how-to-test-sso-authentication-with-cognito-and-oidc-providers\/","og_locale":"en_GB","og_type":"article","og_title":"How to Test SSO Authentication with Cognito and OIDC Providers - entertainmentnews.site","og_description":"The topic How to Test SSO Authentication with Cognito and OIDC Providers is currently the subject of lively discussion \u2014 readers and analysts are keeping a close eye on developments. This is taking place in a dynamic environment: companies\u2019 decisions and competitors\u2019 reactions can quickly change the picture. This guide covers the admin setup for [&hellip;]","og_url":"https:\/\/entertainmentnews.site\/index.php\/2026\/04\/12\/how-to-test-sso-authentication-with-cognito-and-oidc-providers\/","og_site_name":"entertainmentnews.site","article_published_time":"2026-04-12T07:56:46+00:00","article_modified_time":"2026-04-12T07:56:48+00:00","og_image":[{"width":1200,"height":627,"url":"https:\/\/entertainmentnews.site\/wp-content\/uploads\/2026\/04\/https3A2F2Fdev-to-uploads.s3.amazonaws.com2Fuploads2Farticles2Fhbtwh2s8mv0su3b9pgeb.webp","type":"image\/webp"}],"twitter_card":"summary_large_image","twitter_misc":{"Estimated reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/entertainmentnews.site\/index.php\/2026\/04\/12\/how-to-test-sso-authentication-with-cognito-and-oidc-providers\/#article","isPartOf":{"@id":"https:\/\/entertainmentnews.site\/index.php\/2026\/04\/12\/how-to-test-sso-authentication-with-cognito-and-oidc-providers\/"},"author":{"name":"","@id":""},"headline":"How to Test SSO Authentication with Cognito and OIDC Providers","datePublished":"2026-04-12T07:56:46+00:00","dateModified":"2026-04-12T07:56:48+00:00","mainEntityOfPage":{"@id":"https:\/\/entertainmentnews.site\/index.php\/2026\/04\/12\/how-to-test-sso-authentication-with-cognito-and-oidc-providers\/"},"wordCount":515,"image":{"@id":"https:\/\/entertainmentnews.site\/index.php\/2026\/04\/12\/how-to-test-sso-authentication-with-cognito-and-oidc-providers\/#primaryimage"},"thumbnailUrl":"https:\/\/entertainmentnews.site\/wp-content\/uploads\/2026\/04\/https3A2F2Fdev-to-uploads.s3.amazonaws.com2Fuploads2Farticles2Fhbtwh2s8mv0su3b9pgeb.webp","keywords":["Authentication","Cognito","Login","Oidc","Provider"],"articleSection":["Entertainment"],"inLanguage":"en-GB"},{"@type":"WebPage","@id":"https:\/\/entertainmentnews.site\/index.php\/2026\/04\/12\/how-to-test-sso-authentication-with-cognito-and-oidc-providers\/","url":"https:\/\/entertainmentnews.site\/index.php\/2026\/04\/12\/how-to-test-sso-authentication-with-cognito-and-oidc-providers\/","name":"How to Test SSO Authentication with Cognito and OIDC Providers - entertainmentnews.site","isPartOf":{"@id":"https:\/\/entertainmentnews.site\/#website"},"primaryImageOfPage":{"@id":"https:\/\/entertainmentnews.site\/index.php\/2026\/04\/12\/how-to-test-sso-authentication-with-cognito-and-oidc-providers\/#primaryimage"},"image":{"@id":"https:\/\/entertainmentnews.site\/index.php\/2026\/04\/12\/how-to-test-sso-authentication-with-cognito-and-oidc-providers\/#primaryimage"},"thumbnailUrl":"https:\/\/entertainmentnews.site\/wp-content\/uploads\/2026\/04\/https3A2F2Fdev-to-uploads.s3.amazonaws.com2Fuploads2Farticles2Fhbtwh2s8mv0su3b9pgeb.webp","datePublished":"2026-04-12T07:56:46+00:00","dateModified":"2026-04-12T07:56:48+00:00","author":{"@id":""},"breadcrumb":{"@id":"https:\/\/entertainmentnews.site\/index.php\/2026\/04\/12\/how-to-test-sso-authentication-with-cognito-and-oidc-providers\/#breadcrumb"},"inLanguage":"en-GB","potentialAction":[{"@type":"ReadAction","target":["https:\/\/entertainmentnews.site\/index.php\/2026\/04\/12\/how-to-test-sso-authentication-with-cognito-and-oidc-providers\/"]}]},{"@type":"ImageObject","inLanguage":"en-GB","@id":"https:\/\/entertainmentnews.site\/index.php\/2026\/04\/12\/how-to-test-sso-authentication-with-cognito-and-oidc-providers\/#primaryimage","url":"https:\/\/entertainmentnews.site\/wp-content\/uploads\/2026\/04\/https3A2F2Fdev-to-uploads.s3.amazonaws.com2Fuploads2Farticles2Fhbtwh2s8mv0su3b9pgeb.webp","contentUrl":"https:\/\/entertainmentnews.site\/wp-content\/uploads\/2026\/04\/https3A2F2Fdev-to-uploads.s3.amazonaws.com2Fuploads2Farticles2Fhbtwh2s8mv0su3b9pgeb.webp","width":1200,"height":627},{"@type":"BreadcrumbList","@id":"https:\/\/entertainmentnews.site\/index.php\/2026\/04\/12\/how-to-test-sso-authentication-with-cognito-and-oidc-providers\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/entertainmentnews.site\/"},{"@type":"ListItem","position":2,"name":"How to Test SSO Authentication with Cognito and OIDC Providers"}]},{"@type":"WebSite","@id":"https:\/\/entertainmentnews.site\/#website","url":"https:\/\/entertainmentnews.site\/","name":"entertainmentnews.site","description":"","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/entertainmentnews.site\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-GB"}]}},"_links":{"self":[{"href":"https:\/\/entertainmentnews.site\/index.php\/wp-json\/wp\/v2\/posts\/675","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/entertainmentnews.site\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/entertainmentnews.site\/index.php\/wp-json\/wp\/v2\/types\/post"}],"replies":[{"embeddable":true,"href":"https:\/\/entertainmentnews.site\/index.php\/wp-json\/wp\/v2\/comments?post=675"}],"version-history":[{"count":1,"href":"https:\/\/entertainmentnews.site\/index.php\/wp-json\/wp\/v2\/posts\/675\/revisions"}],"predecessor-version":[{"id":682,"href":"https:\/\/entertainmentnews.site\/index.php\/wp-json\/wp\/v2\/posts\/675\/revisions\/682"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/entertainmentnews.site\/index.php\/wp-json\/wp\/v2\/media\/676"}],"wp:attachment":[{"href":"https:\/\/entertainmentnews.site\/index.php\/wp-json\/wp\/v2\/media?parent=675"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/entertainmentnews.site\/index.php\/wp-json\/wp\/v2\/categories?post=675"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/entertainmentnews.site\/index.php\/wp-json\/wp\/v2\/tags?post=675"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}