sadium/public/en/posts/index.xml
2023-12-13 22:46:49 +03:00

107 lines
6.5 KiB
XML

<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
<channel>
<title>Posts on Sadium</title>
<link>/en/posts/</link>
<description>Recent content in Posts on Sadium</description>
<generator>Hugo -- gohugo.io</generator>
<language>en</language>
<lastBuildDate>Sun, 10 Dec 2023 00:00:00 +0000</lastBuildDate><atom:link href="/en/posts/index.xml" rel="self" type="application/rss+xml" />
<item>
<title>Setup Codeberg as custom Oauth2 provider in Nexcloud</title>
<link>/en/posts/codeberg_x_nextcloud/</link>
<pubDate>Sun, 10 Dec 2023 00:00:00 +0000</pubDate>
<guid>/en/posts/codeberg_x_nextcloud/</guid>
<description>I couldn&amp;rsquo;t find any info about it via search engines, so I decided to put information here. What is helped - https://forgejo.codeberg.page/docs/latest/user/oauth2-provider/
1. Create app in Codeberg and copy Client ID and Client secret somewhere. 2. Go to your Nextcloud Admin settings,Social Login section, and create Custom Oauth2 provider.
Section What to enter Local/inner name Codeberg Name Codeberg API Base URL https://codeberg.org Authorize url https://codeberg.org/login/oauth/authorize Token url https://codeberg.org/login/oauth/access_token Profile url https://codeberg.</description>
<content>&lt;p&gt;I couldn&amp;rsquo;t find any info about it via search engines, so I decided to put information here. &lt;br&gt;
What is helped - &lt;a href=&#34;https://forgejo.codeberg.page/docs/latest/user/oauth2-provider/&#34;&gt;https://forgejo.codeberg.page/docs/latest/user/oauth2-provider/&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;code&gt;1.&lt;/code&gt; &lt;a href=&#34;https://codeberg.org/user/settings/applications&#34;&gt;Create app in Codeberg&lt;/a&gt; and copy Client ID and Client secret somewhere. &lt;br&gt;
&lt;code&gt;2.&lt;/code&gt; Go to your Nextcloud Admin settings,&lt;code&gt;Social Login&lt;/code&gt; section, and create Custom Oauth2 provider.&lt;/p&gt;
&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Section&lt;/th&gt;
&lt;th&gt;What to enter&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Local/inner name&lt;/td&gt;
&lt;td&gt;Codeberg&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Name&lt;/td&gt;
&lt;td&gt;Codeberg&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;API Base URL&lt;/td&gt;
&lt;td&gt;&lt;a href=&#34;https://codeberg.org&#34;&gt;https://codeberg.org&lt;/a&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Authorize url&lt;/td&gt;
&lt;td&gt;&lt;a href=&#34;https://codeberg.org/login/oauth/authorize&#34;&gt;https://codeberg.org/login/oauth/authorize&lt;/a&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Token url&lt;/td&gt;
&lt;td&gt;&lt;a href=&#34;https://codeberg.org/login/oauth/access_token&#34;&gt;https://codeberg.org/login/oauth/access_token&lt;/a&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Profile url&lt;/td&gt;
&lt;td&gt;&lt;a href=&#34;https://codeberg.org/login/oauth/userinfo&#34;&gt;https://codeberg.org/login/oauth/userinfo&lt;/a&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Logout url&lt;/td&gt;
&lt;td&gt;leave empty&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Client ID and Client secret&lt;/td&gt;
&lt;td&gt;paste from step 1&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Scope&lt;/td&gt;
&lt;td&gt;read:user&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Other after&lt;/td&gt;
&lt;td&gt;leave empty if not sure&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;p&gt;&lt;code&gt;3.&lt;/code&gt; Tick &lt;code&gt;Allow users to attach/connect their social logins&lt;/code&gt; box and click &lt;code&gt;Save&lt;/code&gt; in the bottom of page. &lt;br&gt;
&lt;code&gt;4.&lt;/code&gt; Go in Incognito/Private window of your browser, go to your Nextcloud login page and copy path of Codeberg provider - Right click, copy link, save somewhere. &lt;br&gt;
Must look like this - &lt;code&gt;https://cloud.example.org(/index.php)/apps/sociallogin/custom_oauth2/Codeberg&lt;/code&gt; &lt;br&gt;
&lt;code&gt;5.&lt;/code&gt; Go back to your created earlier &lt;a href=&#34;https://codeberg.org/user/settings/applications&#34;&gt;Codeberg application&lt;/a&gt;, click &lt;code&gt;Edit&lt;/code&gt; button and paste link from step 4 into &lt;code&gt;Redirection URI&lt;/code&gt; section, click &lt;code&gt;Save&lt;/code&gt;.&lt;/p&gt;
&lt;p&gt;And you done! Try connect your Codeberg account to Nextcloud account from user settings &lt;code&gt;Social Login&lt;/code&gt; section, it must work. In theory, it&amp;rsquo;s also appliable to &lt;code&gt;Gitea&lt;/code&gt;, because &lt;a href=&#34;https://forgejo.org&#34;&gt;Forgejo&lt;/a&gt; is &lt;a href=&#34;https://gitea.com&#34;&gt;Gitea&amp;rsquo;s&lt;/a&gt; fork.&lt;/p&gt;
&lt;p&gt;I&amp;rsquo;ve created related Github issue: &lt;a href=&#34;https://github.com/zorn-v/nextcloud-social-login/issues/440&#34;&gt;https://github.com/zorn-v/nextcloud-social-login/issues/440&lt;/a&gt;&lt;/p&gt;
</content>
</item>
<item>
<title>Wallpapers Collection</title>
<link>/en/posts/walls/</link>
<pubDate>Sat, 01 Jul 2023 00:00:00 +0000</pubDate>
<guid>/en/posts/walls/</guid>
<description>I bring to your attention my collection of wallpapers, which has already reached more than 1500 wallpapers.
You can view them and pick it up here.
About collection:
Most of the wallpapers are taken from wallhaven.cc Have some NSFW (~3-10%) Expanded and supplemented at least weekly. Some wallpapers may have a quality lower than FullHD (1920x1080), coz I couldn&amp;rsquo;t find them in a better quality. If anyone can find it, I would appreciate it if you send me a link </description>
<content>&lt;p&gt;I bring to your attention my collection of wallpapers, which has already reached more than 1500 wallpapers.&lt;/p&gt;
&lt;p&gt;You can view them and pick it up &lt;a href=&#34;https://cloud.sadium.cyou/s/walls&#34;&gt;here&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;About collection:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Most of the wallpapers are taken from &lt;a href=&#34;https://wallhaven.cc&#34;&gt;wallhaven.cc&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;Have some NSFW (~3-10%)&lt;/li&gt;
&lt;li&gt;Expanded and supplemented at least weekly.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Some wallpapers may have a quality lower than FullHD (1920x1080), coz I couldn&amp;rsquo;t find them in a better quality. If anyone can find it, I would appreciate it if you send me a link
&lt;a rel=&#34;me&#34; href=&#34;https://social.exo.icu/@sl&#34;&gt;&lt;/a&gt;
&lt;/p&gt;
</content>
</item>
</channel>
</rss>