You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: _source/_posts/2025-02-07-okta-hosted-sign-in-widget.md
+10-10
Original file line number
Diff line number
Diff line change
@@ -53,7 +53,7 @@ We're not here to change the button color or simply slap a logo on the widget; w
53
53
We will accomplish this by utilizing standard Javascript and CSS.
54
54
If you use the Okta-hosted widget, you will find it under **Customizations** > **Brands** > **[your custom brand]** > **Pages** > **Sign-in** page. Click the **Configure** button and toggle the **Code editor** to **ON**. At this point, you should see some code appear like the one below:
55
55
56
-
```HTML
56
+
```html
57
57
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN""http://www.w3.org/TR/html4/strict.dtd">
58
58
<html>
59
59
<head>
@@ -115,20 +115,20 @@ If you want more fine-grained control over the widget's appearance, Okta allows
115
115
116
116
Within the `<head>` section and below the following code,
insert the following code that points to the Font Awesome library, which is hosted on my AWS S3 bucket (you can use your own Font Awesome or any other library, but you would need to modify the code accordingly).
@@ -555,7 +555,7 @@ To manipulate the pieces of the widget, we need to know what those HTML elements
555
555
Additionally, I've included some extra code to showcase how you can style or manipulate the widget based on the client id, making per application customizations possible.
556
556
557
557
Below the OktaUtil object,
558
-
```HTML
558
+
```html
559
559
<!--
560
560
"OktaUtil" defines a global OktaUtil object
561
561
that contains methods used to complete the Okta login flow.
@@ -565,7 +565,7 @@ Below the OktaUtil object,
565
565
566
566
Add the following code:
567
567
568
-
```HTML
568
+
```html
569
569
<!-- Let's add a reference to jQuery for easy object manipulation. You do not have to do this, you can use vanila JS instead -->
0 commit comments