generated from kolosovpetro/github-latex-template
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
7171793
commit 4b824e6
Showing
11 changed files
with
94 additions
and
107 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -17,18 +17,55 @@ jobs: | |
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v3 | ||
with: | ||
fetch-depth: 0 | ||
|
||
- name: Install GitVersion | ||
uses: gittools/actions/gitversion/[email protected] | ||
with: | ||
versionSpec: '5.x' | ||
|
||
- name: Determine Version | ||
uses: gittools/actions/gitversion/[email protected] | ||
|
||
- name: Print SemVer | ||
run: | | ||
echo ${{ env.GITVERSION_SEMVER }} | ||
echo ${{ env.GitVersion_InformationalVersion }} | ||
echo ${{ env.GitVersion_EscapedBranchName }} | ||
- name: Update version.tex | ||
shell: bash | ||
run: | | ||
newVersion=${{ env.GitVersion_InformationalVersion }} | ||
sed -i "s|Local-0.1.0|$newVersion|" "src/sections/version.tex" | ||
- name: Build PDF | ||
uses: xu-cheng/latex-action@v2 | ||
with: | ||
root_file: "${{ env.FILE_NAME }}.tex" | ||
working_directory: src | ||
|
||
- name: List src | ||
run: | | ||
ls -lsa src | ||
- name: Upload artifacts | ||
uses: actions/upload-artifact@v3 | ||
with: | ||
name: "drop" | ||
path: "src/${{ env.FILE_NAME }}.pdf" | ||
name: "${{ env.FILE_NAME }}-${{ env.GitVersion_InformationalVersion }}" | ||
path: | | ||
src/${{ env.FILE_NAME }}.tex | ||
src/${{ env.FILE_NAME }}.bbl | ||
src/${{ env.FILE_NAME }}.bib | ||
src/sections | ||
- name: Upload artifacts PDF | ||
uses: actions/upload-artifact@v3 | ||
with: | ||
name: "${{ env.FILE_NAME }}-PDF-${{ env.GitVersion_InformationalVersion }}" | ||
path: | | ||
src/${{ env.FILE_NAME }}.pdf | ||
- name: Clone repository and add document | ||
continue-on-error: true | ||
|
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -32,6 +32,8 @@ | |
\author[Petro Kolosov]{Petro Kolosov} | ||
\author[Dmitrij Kudryashov]{Dmitrij Kudryashov} | ||
\email{[email protected]} | ||
\urladdr{https://kolosovpetro.github.io} | ||
\email{[email protected]} | ||
\keywords{ | ||
OpenID Connect, | ||
OIDC, | ||
|
@@ -42,7 +44,6 @@ | |
CSRF, | ||
ASP .NET Core | ||
} | ||
\urladdr{https://kolosovpetro.github.io} | ||
\date{\today} | ||
\hypersetup{ | ||
pdftitle={Secure OpenID Connect implementation using Azure Active Directory and ASP .NET Framework}, | ||
|
@@ -111,10 +112,6 @@ | |
\section{Conclusions}\label{sec:conclusions} | ||
\input{sections/conclusions} | ||
|
||
|
||
\section{Acknowledgements}\label{sec:acknowledgements} | ||
\input{sections/acknowledgements} | ||
|
||
\bibliographystyle{unsrt} | ||
\bibliography{SecureAzureOIDC} | ||
\noindent \textbf{Version:} \input{sections/version} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
In this manuscript we discuss the problem of secure storage and transfer of access tokens between microservices. | ||
In this manuscript, we discuss the problem of secure storage and transfer of access tokens between microservices. | ||
Web browser may store access tokens both, in local storage or in cookie files. | ||
We propose a secure implementation to store and transfer auth cookies between microservices | ||
using Azure Active Directory, OpenID Connect and ASP .NET Core. | ||
using Azure Active Directory, OpenID Connect, and ASP .NET Core. |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,17 @@ | ||
The implementation of refreshing user tokens is extremely simple. | ||
It is necessary to create a background service~\cite{microsoftHostedservice2023} that manages sessions, | ||
in particular deletes sessions that has not been used long time, refreshes existing sessions etc. | ||
in particular deletes sessions that have not been used long time, refresh existing sessions, etc. | ||
In case of refresh or initial authentication, the new \texttt{AuthenticationTicket} object~\cite{microsoftAuthenticationTicket2023} | ||
replaces the existing or new instance is created. | ||
In addition, the Azure AD authentication server's response contains a timestamp property \texttt{ExpiresIn} | ||
that determines lifetime of the tokens, | ||
that determines the lifetime of the tokens, | ||
the background service updates the \texttt{ExpiresAt} property of the \texttt{UserSessionEntity} accordingly. | ||
|
||
The background service is responsible not only for refreshing the sessions, | ||
but also it is responsible for deleting the sessions that have not been used for a long time. | ||
Once per predefined period, the sessions are selected and their \texttt{DateOfLastAccess} property is | ||
compared to the current \texttt{DateTime.Now}. | ||
If the difference between the \texttt{DateOfLastAccess} and \texttt{DateTime.Now} is more than, for example 3 days, | ||
then session is deleted. | ||
If the difference between the \texttt{DateOfLastAccess} and \texttt{DateTime.Now} is more than, for example, 3 days, | ||
then the session is deleted. | ||
Each time a user performs an action on the site, the \texttt{DateOfLastAccess} property is updated. | ||
Implementation of a background service can be done as per references~\cite{backroundService_2023, configurationBackgroundService_2023} |
Oops, something went wrong.